Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Docker Documentation on Readme #188

Closed
wants to merge 4 commits into from
Closed

Conversation

kehshiba
Copy link

Solves Issue #143

@kehshiba kehshiba requested review from a team as code owners May 10, 2023 08:41
@korikuzma korikuzma linked an issue May 10, 2023 that may be closed by this pull request
Copy link
Member

@ahwagner ahwagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR @kehshiba, I appreciate your contribution here! I added a few minor change requests but this is very close!

@@ -48,6 +48,36 @@ gracefully (and without causing problems for others!).**
The `[extras]` argument tells pip to install packages to fullfill the dependencies of the
`ga4gh.vrs.extras` package.

## Getting started with Docker

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is good, but should be integrated in the context of why they would want to get started with Docker (answer: because the ga4gh.vrs.extra utils are dependent upon them). I think this README would therefore make sense with a little transition text, in an introductory subsection under "Installing dependencies for ga4gh.vrs.extras" section, below.

.idea/.gitignore Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the .idea directory and content from this PR.

Copy link
Contributor

@korikuzma korikuzma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the .idea directory that you've added. We should add it to the .gitignore

README.md Outdated
@@ -48,6 +48,36 @@ gracefully (and without causing problems for others!).**
The `[extras]` argument tells pip to install packages to fullfill the dependencies of the
`ga4gh.vrs.extras` package.

## Getting started with Docker

Docker is an open-source platform that enables you to automate the deployment and management of applications using containers. Containers are lightweight, isolated environments that package all the necessary software and dependencies for an application to run consistently across different systems
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Docker is an open-source platform that enables you to automate the deployment and management of applications using containers. Containers are lightweight, isolated environments that package all the necessary software and dependencies for an application to run consistently across different systems
Docker is an open-source platform that enables you to automate the deployment and management of applications using containers. Containers are lightweight, isolated environments that package all the necessary software and dependencies for an application to run consistently across different systems.

README.md Outdated
Comment on lines 55 to 81
If you're new to Docker, follow these steps to get started:

### Step 1: Install Docker
To begin, you need to install Docker on your machine. Follow the official Docker installation guide for your specific operating system:

[Docker Installation Guide](https://docs.docker.com/get-docker/)

### Step 2: Verify Docker Installation
Once Docker is installed, you can verify the installation by running the following command in your terminal:


``` docker version ```

This command displays the Docker client and server versions, indicating that Docker is successfully installed on your machine.

### Step 3: Run a Docker Container
To test Docker, let's run a simple container. In your terminal, execute the following command:

``` docker run hello-world ```

This command pulls the hello-world Docker image (if not already present) and runs it in a container. You should see a message confirming that Docker is working correctly.

[Docker Documentation](https://docs.docker.com/)



## Installing dependencies for ga4gh.vrs.extras
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably simpler to just have:

Suggested change
If you're new to Docker, follow these steps to get started:
### Step 1: Install Docker
To begin, you need to install Docker on your machine. Follow the official Docker installation guide for your specific operating system:
[Docker Installation Guide](https://docs.docker.com/get-docker/)
### Step 2: Verify Docker Installation
Once Docker is installed, you can verify the installation by running the following command in your terminal:
``` docker version ```
This command displays the Docker client and server versions, indicating that Docker is successfully installed on your machine.
### Step 3: Run a Docker Container
To test Docker, let's run a simple container. In your terminal, execute the following command:
``` docker run hello-world ```
This command pulls the hello-world Docker image (if not already present) and runs it in a container. You should see a message confirming that Docker is working correctly.
[Docker Documentation](https://docs.docker.com/)
## Installing dependencies for ga4gh.vrs.extras
You will need to install Docker on your machine, follow the official [Docker Installation Guide](https://docs.docker.com/get-docker/) for your specific operating system.
For more information on Docker, see the [Getting Started Guide](https://docs.docker.com/get-started/).
## Installing dependencies for ga4gh.vrs.extras

@kehshiba
Copy link
Author

last commit fixes it, modified the doc too @ahwagner

@github-actions
Copy link

This pull request was marked stale due to inactivity.

Copy link
Member

@ahwagner ahwagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@korikuzma korikuzma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my previous requested changes

@github-actions github-actions bot closed this Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document the docker tool
3 participants